package com.danbay.cloud.deviceaccess;

import com.danbay.framework.kafka.config.EnableKafkaConsumer;
import com.danbay.framework.redis.config.EnableRedis;
import com.danbay.framework.springnc.EnableNoController;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;

/**
 *
 * @author SJG
 * 2017/9/27
 */
@EnableDiscoveryClient
@EnableFeignClients
@SpringBootApplication
@EnableCircuitBreaker
@EnableRedis
@EnableKafkaConsumer
@EnableNoController
public class DeviceAccessServiceApplication {

    public static void main( String[] args )
    {
        SpringApplication.run(DeviceAccessServiceApplication.class,args);
    }
}
